From 821a81792e9cf6dbbe79cee253d2f022b63078e7 Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Thu, 8 Feb 2007 17:46:14 +0000 Subject: [PATCH] Use printk log-level limiting even during Xen boot. Signed-off-by: Alex Williamson --- xen/drivers/char/console.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/xen/drivers/char/console.c b/xen/drivers/char/console.c index 7eea5b2b4e..cfc7e98a17 100644 --- a/xen/drivers/char/console.c +++ b/xen/drivers/char/console.c @@ -102,7 +102,7 @@ static void parse_guest_loglvl(char *s); custom_param("loglvl", parse_loglvl); custom_param("guest_loglvl", parse_guest_loglvl); -static atomic_t print_everything = ATOMIC_INIT(1); +static atomic_t print_everything = ATOMIC_INIT(0); #define ___parse_loglvl(s, ps, lvlstr, lvlnum) \ if ( !strncmp((s), (lvlstr), strlen(lvlstr)) ) { \ @@ -569,9 +569,6 @@ void console_endboot(void) /* Serial input is directed to DOM0 by default. */ switch_serial_input(); - - /* Now we implement the logging thresholds. */ - console_end_log_everything(); } void console_start_log_everything(void) -- 2.30.2